package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.Questions;
import cn.wolfcode.luowowo.article.query.QuestionsQuery;
import java.util.List;

public interface QuestionsMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Questions record);

    Questions selectByPrimaryKey(Long id);

    List<Questions> selectAll();

    int updateByPrimaryKey(Questions record);

    List <Questions>selectForList(QuestionsQuery qo);

    List<Questions> selectviewnumTop();


    List<Questions> selectSharenumTop();

    List<Questions> selectthumbsupnumTop();
}
